package service.impl;

import dao.CategoryDao;
import pojo.Category;
import service.CategoryService;

import java.util.List;

/**
 * 商品分类接口实现类
 * @author xly
 */
public class CategoryServiceImpl implements CategoryService {

     CategoryDao categoryDao=new CategoryDao();

    @Override
    public List<Category> queryAllCategory() {
        List<Category> category = categoryDao.queryAllCategory();
        return category;
    }
}
